#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>
#include<string.h>
#define N 20

int main()
{
	char* name[20] = {"Harper","Harlotte","Ashley","Astrid" ,"Sylvia" ,"Hazel" ,"Kaia" ,"Iris" ,"Eden" ,"Calliope" 
	,"Alex" ,"Dylan" ,"Arthur" ,"Ryan" ,"Douglas" ,"Owen" ,"Barry" ,"Felix" ,"Kerwin" ,"Wade" };
	char* pt;
	int i, j, k;
	for (i = 0; i < N - 1; i++)
	{
		k = i;
		for (j = i + 1; j < N; j++)
			if (strcmp(name[k], name[j]) < 0)
				k = j;
		if (k != j)
		{
			pt = name[i];
			name[i] = name[k];
			name[k] = pt;
		}
	}
	for (i = 0; i < N; i++)
		puts(name[i]);
	return 0;
}